]> dgit.raspbian.org Git - gnome-shell.git/commit
Bug 622414 - Port magnifier to GSettings
authorMilan Bouchet-Valat <nalimilan@club.fr>
Sat, 19 Jun 2010 13:43:39 +0000 (15:43 +0200)
committerMilan Bouchet-Valat <nalimilan@club.fr>
Fri, 10 Sep 2010 14:38:09 +0000 (16:38 +0200)
commite88f08072c7486a348c27460a1425dfa5371c693
tree4b71b300a3d6eae4759532c243a505bb862ec86f
parent38c34223319eda14cd89301b4ee7079226c41af8
Bug 622414 - Port magnifier to GSettings

The Shell is the only user of the magnifier, so there's no
reason to keep using GConf for its settings. Since it's a
session-wide tool, use a distinct schema,
org.gnome.accessibility.magnifier, stored in
/desktop/gnome/accessibility/magnifier just like before.
Put these settings in a separate schema file for clarity.

Old enums in GConf were stored as integers, we now use the
facilities provided by GSettings to save them as strings,
and convert them to integers automatically thanks to the
mapping stored in the schemas. Remove hard-coded default values,
which we can get from the schemas.

https://bugzilla.gnome.org/show_bug.cgi?id=622414
data/Makefile.am
data/gnome-shell.schemas
data/org.gnome.accessibility.magnifier.gschema.xml.in [new file with mode: 0644]
js/ui/magnifier.js